package tv.huan.tencent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

/**
 * 卡池对象 card_pool
 * 
 * @author admin
 * @date 2020-12-23
 */
public class CardPool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Integer cardId;

    /** 名称 */
    @Excel(name = "名称")
    private String cardName;

    /** 卡池范围 */
    @Excel(name = "卡池范围")
    private Integer cardScope;

    /** 卡片类型：月卡、季卡、年卡、低价月卡、低价季卡、低价年卡、自动续月、连续包月 */
    @Excel(name = "卡片类型：月卡、季卡、年卡、低价月卡、低价季卡、低价年卡、自动续月、连续包月")
    private Integer cardType;

    /** 总数量 */
    @Excel(name = "总数量")
    private Integer total;

    /** 预估余量 */
    @Excel(name = "预估余量")
    private Integer predictRemainder;

    /** 实际余量 */
    @Excel(name = "实际余量")
    private Integer actualRemainder;

    /** 提醒余量 */
    @Excel(name = "提醒余量")
    private Integer warnRemainder;

    public Integer getCardScope() {
        return cardScope;
    }

    public void setCardScope(Integer cardScope) {
        this.cardScope = cardScope;
    }

    public void setCardId(Integer cardId)
    {
        this.cardId = cardId;
    }

    public Integer getCardId() 
    {
        return cardId;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }
    public void setCardType(Integer cardType) 
    {
        this.cardType = cardType;
    }

    public Integer getCardType() 
    {
        return cardType;
    }
    public void setTotal(Integer total) 
    {
        this.total = total;
    }

    public Integer getTotal() 
    {
        return total;
    }
    public void setPredictRemainder(Integer predictRemainder) 
    {
        this.predictRemainder = predictRemainder;
    }

    public Integer getPredictRemainder() 
    {
        return predictRemainder;
    }
    public void setActualRemainder(Integer actualRemainder) 
    {
        this.actualRemainder = actualRemainder;
    }

    public Integer getActualRemainder() 
    {
        return actualRemainder;
    }
    public void setWarnRemainder(Integer warnRemainder) 
    {
        this.warnRemainder = warnRemainder;
    }

    public Integer getWarnRemainder() 
    {
        return warnRemainder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("cardName", getCardName())
            .append("cardType", getCardType())
            .append("cardScope", getCardScope())
            .append("total", getTotal())
            .append("predictRemainder", getPredictRemainder())
            .append("actualRemainder", getActualRemainder())
            .append("warnRemainder", getWarnRemainder())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
